![]() |
|||
![]()
|
![]() |
![]() Click Here! |
![]() |
SIGNAL ENCODING FORMATS The signal encoding formats most commonly used as part of a signal encoding scheme for LANs are:
These codes are defined in Exhibit 1-5-1, and illustrated in Exhibit 1-5-2.
Nonreturn to Zero Codes The most common and easiest way to transmit digital signals is to use two different voltage levels for the two binary digits. For example, the absence of voltage can be used to represent binary 0, with a constant positive voltage used to represent binary 1. More commonly, a negative voltage is used to represent one binary value and a positive voltage is used to represent the other. This latter code is known as nonreturn-to-zero-level (NRZ-L). NRZ-L is generally the code used to generate or interpret digital data by terminals and other devices. If a different code is to be used for transmission, it is typically generated from an NRZ-L signal by the transmission system. A variation of NRZ is known as nonreturn to zero, invert on ones (NRZI). As with NRZ-L, NRZI maintains a constant voltage pulse for the duration of a bit time. The data is encoded as the presence or absence of a signal transition at the beginning of the bit time. A transition (low-to-high or high-to-low) at the beginning of a bit time denotes a binary 1 for that bit time. No transition indicates a binary 0. NRZI is an example of differential encoding. In differential encoding, the signal is decoded by comparing the polarity of adjacent signal elements rather than determining the absolute value of a signal element. One benefit of this scheme is that it may be more reliable to detect a transition in the presence of noise than to compare a value to a threshold. Another benefit is that with a complex transmission layout, it is easy to lose the sense of the polarity of the signal. For example, on a multidrop twisted-pair line, if the leads from an attached device to the twisted pair are accidentally inverted, all 1s and 0s for NRZ-L will be inverted. This cannot happen with differential encoding. The NRZ codes are the easiest to engineer and also make efficient use of bandwidth. Most of the energy in NRZ and NRZI signals is between DC and half the bit rate. For example, if an NRZ code is used to generate a signal with data rate of 9,600 bps, most of the energy in the signal is concentrated between DC and 4,800 Hz. The main limitations of NRZ signals are the presence of a DC component and the lack of synchronization capability. For example, if there is a long string of 1s or 0s for NRZ-L or a long string of 0s for NRZI, the output is a constant voltage over a long period of time. Under these circumstances, any drift between the timing of transmitter and receiver will result in loss of synchronization between the two. Because of their simplicity and relatively low frequency response characteristics, NRZ codes are commonly used for digital magnetic recording. However, their limitations make these codes unattractive for signal transmission applications. Biphase There is another set of coding techniques, grouped under the term biphase, that overcome the limitations of NRZ codes. Two of these techniques, Manchester and Differential Manchester, are commonly used in LANs. In the Manchester code, there is a transition at the middle of each bit period. The mid-bit transition serves as a clocking mechanism and also as data: a low-to-high transition represents a 1, and a high-to-low transition represents a 0. In Differential Manchester, the mid-bit transition is used only to provide clocking. The encoding of a 0 is represented by the presence of a transition at the beginning of a bit period, and a 1 is represented by the absence of a transition at the beginning of a bit period. Differential Manchester has the added advantage of employing differential encoding. All of the biphase techniques require at least one transition per bit time and may have as many as two transitions. Therefore, the signaling rate, also known as the baud rate, is as much as twice the bit rate. In contrast, the baud rate for NRZ is the same as the bit rate. Because it is the actual rate of signal transitions rather than the bit rate that determines the bandwidth of a signal, the bandwidth required for the biphase schemes is considerably greater than for NRZ. On the other hand, the biphase schemes have several advantages, including:
The bulk of the energy in biphase codes is between one-half and one times the bit rate. Thus, the bandwidth is reasonably narrow and contains no DC component. Biphase codes are popular techniques for data transmission. The more common Manchester code has been specified for the IEEE 802.3 standard for baseband coaxial cable and twisted-pair, carrier sense multiple access with collision detection (CSMA/CD) bus LANs. Differential Manchester has been specified for the IEEE 802.5 Token Ring LAN, using shielded twisted pair. MLT-3 MLT-3 is an encoding scheme used for the twisted-pair version of fiber distributed data interface (FDDI) and for one of the versions of 100Base-T. The MLT-3 scheme concentrates most of the energy in the transmitted signal below the frequency corresponding to one-third the bit rate. This reduces radiated emissions and therefore interference, which is a serious concern with unshielded twisted pair. The MLT-3 encoding produces an output that has a transition for every binary one and that uses three levels: a positive voltage (+V), a negative voltage (-V) and no voltage (0). The following encoding rules are illustrated by the encoder state diagram in Exhibit 1-5-3.
|
![]() |
|
Use of this site is subject certain Terms & Conditions. Copyright (c) 1996-1999 EarthWeb, Inc.. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Please read our privacy policy for details. |